package com.scf.loan.Service.impl;


import com.scf.loan.Service.FinanceService;
import com.scf.loan.entity.Borrowings;
import com.scf.loan.entity.PageBean;
import com.scf.loan.mapper.FinanceMapper;
import com.scf.loan.mapper.LawMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FinanceServiceImpl implements FinanceService {
	@Resource
private FinanceMapper financeMapper;



	@Override
	public List<Borrowings> allfinance(PageBean pageBean) {
		return financeMapper.allfinance(pageBean);
	}

	@Override
	public int counts(PageBean pageBean) {
		return financeMapper.counts(pageBean);
	}
}
